export const routes = [
  {
    path: '/',
    name: 'identity',
    component: () => import('@/views/identity/index.vue'), //入驻流程
  },
  {
    path: '/index',
    name: 'Index',
    component: () => import('@/views/index.vue'), //首页
  },
  {
    path: '/Test',
    name: 'Test',
    component: () => import('@/views/test.vue'),
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/index.vue'), //登录
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('@/views/login/register.vue'), //注册
  },
  {
    path: '/supplier',
    name: 'supplier',
    component: () => import('@/views/mine/supplier.vue'), //我的(供应商)
  },
  {
    path: '/purchaser',
    name: 'purchaser',
    component: () => import('@/views/mine/purchaser.vue'), //我的(采购商)
  },
  {
    path: '/purchaseShop',
    name: 'purchaseShop',
    component: () => import('@/views/mine/purchaseShop.vue'), //我的(采购列表-采购商)
  },
  {
    path: '/companyShop',
    name: 'companyShop',
    component: () => import('@/views/mine/companyShop.vue'), //我的(我司商品-供应商)
  },
  {
    path: '/shopDetail',
    name: 'shopDetail',
    component: () => import('@/views/mine/shopDetail.vue'), //我的(商品列表)
  },
]

// 所有的页面都放在views下面  组件放到components下面   路径是对的 啊..
